﻿using System.Text.RegularExpressions;

namespace ContractManager.Common.Service
{
    /// <summary>
    /// Regex helper.
    /// </summary>
    /// <remarks>
    /// Golovkov Alex, 17.09.2010.
    /// </remarks>
    public static class RegExHelper
    {
        /// <summary>
        /// The regex tiker.
        /// </summary>
        private static readonly Regex RegexValue = new Regex(
            "(?<tiker>[a-zA-Z].*)",
            RegexOptions.IgnoreCase | RegexOptions.Multiline | RegexOptions.CultureInvariant |
            RegexOptions.IgnorePatternWhitespace | RegexOptions.Compiled);

        /// <summary>
        /// Gets the regex tiker.
        /// </summary>
        /// <value>
        /// The regex tiker.
        /// </value>
        public static Regex RegexTicker
        {
            get
            {
                return RegexValue;
            }
        }
    }
}
